#include <iostream.h> // Zadanie 1.1
#include <iomanip.h>
#include <conio.h>

main()
{
	float a, b, pole;

	cout << "Program oblicza pole prostokta." << endl;
	cout << "Podaj bok a." << endl;
	cin >> a;
	cout << "Podaj bok b." << endl;
	cin >> b;
	pole = a*b;
	cout << fixed; // flaga
	cout << setprecision(2); // ustalenie precyzji
	cout << "Pole prostokata o boku a = " << a << " i boku b = " << b;
	cout << " wynosi " << pole << "." << endl;

	getch(); // czeka na nacisniecie dowolnego klawisza
}
